<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link href="${pageContext.request.contextPath }/js/kindeditor-4.1.10/themes/default/default.css" type="text/css" rel="stylesheet">
<script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath }/js/kindeditor-4.1.10/kindeditor-all-min.js"></script>
<script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath }/js/kindeditor-4.1.10/lang/zh_CN.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery-1.8.3.js"></script>
<link id="easyuiTheme" rel="stylesheet" type="text/css"	href="${pageContext.request.contextPath }/js/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/js/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/default.css">
<script type="text/javascript" src="${pageContext.request.contextPath }/js/easyui/jquery.easyui.min.js"></script>
<script	src="${pageContext.request.contextPath }/js/easyui/locale/easyui-lang-zh_CN.js"	type="text/javascript"></script>
<script src="${pageContext.request.contextPath }/js/common.js" type="text/javascript"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/ajaxfileupload.js"></script>
</head>

<body>

<div style="padding:10px 10px 10px 10px" id="youngEditFormDiv">

		<form id="youngEditForm" class="table-edit" method="post" enctype="multipart/form-data">
	    <table cellpadding="5">


	            <input  type="hidden" name="id"></input>

	        <tr>
	            <td>姓名:</td>
	            <td><input class="easyui-validatebox" required="true" type="text" name="name"  style="width: 280px;"></input></td>
	        </tr>
	      
	        <tr>
	            <td>职务:</td>
	            <td><input class="easyui-validatebox"  required="true"  type="text" name="position" style="width: 280px;"></input></td>
	        </tr>
	        
	        <tr>
			<td><label>类别:</label></td>
			<td><select id="type" class="easyui-combobox"  required="true" name="type" style="width:200px;">
				<option value="1">季度</option>
				<option value="2">年度</option>
			</select></td>
		</tr>
	        
	        <tr>
	            <td>头像地址:</td>
	            <td>
	            	<input id="headerImg" type="input" name="headerImg"  class="easyui-validatebox" style="width: 800px; value=""/>	
	            </td>
	            
	        </tr>
	        <tr>
	            <td></td>
	            <td>
	            	<input type="file" id="headerImgFile" name="headerImgFile" accept=".jpg,.gif,.png,.bmp">
	            </td>
	            
	        </tr>
	        <tr>
	            <td></td>
	            <td><a href="javascript:void(0)" class="easyui-linkbutton" onclick="uploadHeaderImg();">上传图片</a></td>
	        </tr>
	        <tr>
	            <td>生活照地址:</td>
	            <td>
	            	<input id="liveImg" type="input" name="liveImg" class="easyui-validatebox" style="width: 800px; value=""/>	
	            </td>
	            
	        </tr>
	        <tr>
	            <td></td>
	            <td>
	            	<input type="file" id="liveImgFile" name="liveImgFile" accept=".jpg,.gif,.png,.bmp">
	            </td>
	            
	        </tr>
	        <tr>
	            <td></td>
	            <td><a href="javascript:void(0)" class="easyui-linkbutton" onclick="uploadLiveImg();">上传图片</a></td>
	        </tr>
			
			<tr>
	            <td>青春宣言:</td>
	           <td> <textarea  rows="5" name="motto" class="textarea easyui-validatebox"  style="height:200px;width: 280px;"></textarea></td>
	        </tr>
	        
	    </table>
	</form>
	<div style="padding:5px">
	    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitForm()">提交</a>
	    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="clearForm()">重置</a>
	</div>
</div>

</body>
<script type="text/javascript">
	
</script>
